/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package org.beiyou;

/**
 * <p>Project: jse2204 - SingletonDemo
 * <p>Powered by webrx On 2022-09-08 17:48:41
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class SingletonDemo {
    public static void main(String[] args) {
        var s1 = Singleton.getInstance();
        var s2 = Singleton.getInstance();
        var s3 = Singleton.getInstance();
        var s4 = Singleton.getInstance();


        System.out.println(s1 == s4);

    }
}
